Skip to content

Conversation

@jishnub
Copy link
Member

@jishnub jishnub commented Apr 7, 2025

This implements the suggestion in #1248.

After this,

julia> S = Symmetric(rand(3,3))
3×3 Symmetric{Float64, Matrix{Float64}}:
 0.376244  0.895193  0.332219
 0.895193  0.563134  0.148036
 0.332219  0.148036  0.711689

julia> vals = eigvals(S)
3-element Vector{Float64}:
 -0.45018177966363415
  0.5911683834592292
  1.5100812026842658

julia> eigvecs(S, vals[1:2])
3×2 Matrix{Float64}:
  0.752343  -0.16258
 -0.645224  -0.37737
 -0.132912   0.911679

@codecov
Copy link

codecov bot commented Apr 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.04%. Comparing base (3f46f5f) to head (1895942).
Report is 55 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1268      +/-   ##
==========================================
+ Coverage   92.00%   92.04%   +0.04%     
==========================================
  Files          34       34              
  Lines       15478    15482       +4     
==========================================
+ Hits        14241    14251      +10     
+ Misses       1237     1231       -6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jishnub jishnub requested a review from stevengj April 9, 2025 12:36
@jishnub jishnub merged commit 41db513 into master Apr 30, 2025
4 checks passed
@jishnub jishnub deleted the jishnub/sym_eigvecs branch April 30, 2025 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant